<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/html">
<head>
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="this is my page">
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <title>小天使任务平台</title>
    <script src="http://libs.baidu.com/jquery/1.9.0/jquery.js"></script>
<!--进度条js -->
		<script type='text/javascript'>
		 $({property: 0}).animate({property: 100}, {
			    duration: 3000,
			    step: function() {
			        var percentage = Math.round(this.property);

			        $('#progress').css('width',  percentage+"%");

			         if(percentage == 100) {
           				 $("#progress").addClass("done");//完成，隐藏进度条
       				 }
			    }
			});
		</script>
        <style type="text/css">
			body{
				margin:0;
                background-size: cover;
                background-attachment: fixed;
			}
			#progress {
				position:fixed;
				height: 2px;
				background:#b91f1f;
				transition:opacity 500ms linear
			}
			#progress.done {
				opacity:0
			}
			#progress span {
				position:absolute;
				height:2px;
				-webkit-box-shadow:#b91f1f 1px 0 6px 1px;
				-webkit-border-radius:100%;
				opacity:1;
				width:150px;
				right:-10px;
				-webkit-animation:pulse 2s ease-out 0s infinite;
			}

			@-webkit-keyframes pulse {
				30% {
					opacity:.6
				}
				60% {
					opacity:0;
				}
				100% {
					opacity:.6
				}
			}

		</style>
    <!--按钮loading js -->
    <style>

#loading {
  position:absolute;
  width:500px;
  height:150px;  top:20%;
  left:35%; right: 65%;
  margin: 0 auto;
  background-color:#FFD700;
  border:1px solid #FFD700;

}

table {
            border-spacing: 0;
            border-collapse: collapse
        }
        th {
            background-color: #79aec8;
            border: 1px #609ab6 solid;
            text-align: center;
		    vertical-align: middle!important;
        }
        td {
            background-color: #ffffff;
            border: 1px #609ab6 solid;
            text-align: left;
		    vertical-align: middle!important;

        }
        input{
            background-color: #ffffff;
            border: 1px #609ab6 solid;
            text-align: center;
        }
        .ui-select select {
            position: absolute;
            left: 0px;
            top: 0px;
            width: 100%;
            height: 3em;
            opacity: 0;
        }

</style>
    <script>
    function goprogress(){
        var pro=document.getElementsByTagName("progress")[0];
        gotoend(pro,0);
    }
    function gotoend(pro,value){
        var value=value+1;
        pro.value=value;
        if(value<4000) {
            setTimeout(function(){gotoend(pro, value);},10)
        }else{
            setTimeout(function(){alert("任务完成")},10);
        }
    }
    </script>

</head>

<body>

<!--loading进度条-->
<div  id="loading" style="display:none;height: 240px;width: 550px">
<p style="margin-bottom: 0;text-align: center;">脚本执行中，请耐心等待...</p>
    <br/>
    <!--http://ww2.sinaimg.cn/mw690/0064cTs2gw1exk8tho8p7g30dg05u451.gif 原动图-->
    <img src="http://wx3.sinaimg.cn/large/62d8a08bgy1fpkhz81k0dg20dw0af4qq.gif" height="240px" width="550px">
</div>

<div id="progress">
			<span></span>
		</div>

<h1>{{ task }}</h1>
<div id="container" style="width:100%;text-align: center">
    <div id="header" style="backgroud-color:#FFA500;;">
        <h1 style="margin-bottom: 0" >任务平台<input type="button" value="填写周报" onclick="window.open('/report')"  style="width: 120px;height: 40px;float: right;text-align: center">
        </h1>
    </div>
<table style="margin: auto" cellpadding="0" cellspacing="0" >


    <tr>
        <td>OTA订单退款</td>
        <td >
            <form action="/report/fixota/" method="get" accept-charset="UTF-8" >
                <select id="type" class="sbox32 mr10px required valid" onchange="cashgroup_change(this)" aria-required="true" aria-invalid="false" name="type" style="width: 200px;height: 20px;text-align:center ";>
                                                        <option value="None">请选择退款方式</option>
                                                        <option value="refund_to_user">退款给用户</option>
                                                        <option value="refund_to_ota">申请OTA退款并且退款给用户</option>
                                                        <option value="refund_to_onlyota">仅申请OTA退款</option>

                </select>
                <br>
                <input type="text" name="order_no" style="width: 200px;height: 20px;" placeholder="请输入订单号">
                <input class="ui-btn btn-green btn-submit" style="float:right" type="submit" value="提交" id="button3"  onclick="document.getElementById('loading').style.display='';">
            </form>

        </td>
    </tr>

   <tr>
        <td>修复无效订单</td>
        <td >
            <form action="/report/fixorder/" method="get" accept-charset="UTF-8" >
                <input type="text" name="order_no" style="width: 200px;height: 20px;" placeholder="请输入订单号">
                <input class="ui-btn btn-green btn-submit" style="float:right" type="submit" value="提交" id="button3"  onclick="document.getElementById('loading').style.display='';">
            </form>

        </td>
    </tr>

    <tr>
        <td>修复拼团订单</td>
        <td >
            <form action="/report/fix_groupbuying/" method="get" accept-charset="UTF-8" >
                <input type="text" name="order_no" style="width: 200px;height: 20px;" placeholder="请输入订单号">
                <input class="ui-btn btn-green btn-submit" style="float:right" type="submit" value="提交" id="button3"  onclick="document.getElementById('loading').style.display='';">
            </form>

        </td>
    </tr>

    <tr>
        <td>修改昵称ota下单</td>
        <td >
            <form action="/report/fix_username/" method="get" accept-charset="UTF-8" >
                <input type="text" name="order_no" style="width: 200px;height: 20px;" placeholder="请输入订单号">
                <input class="ui-btn btn-green btn-submit" style="float:right" type="submit" value="提交" id="button3"  onclick="document.getElementById('loading').style.display='';">
            </form>

        </td>
    </tr>

    <tr>
        <td>亲子卡退款</td>
        <td >
            <form action="/report/qinzika_refund/" method="get" accept-charset="UTF-8" >
                <input type="text" name="mobile" style="width: 200px;height: 20px; " placeholder="请输入用户手机号码">
                <br>
                <input type="text" name="type" style="width: 200px;height: 20px; " placeholder="请输入会员包标题">
                <br>
                <input type="text" name="date" style="width: 200px;height: 20px; " placeholder="请输入扣减会员天数">
                <input class="ui-btn btn-green btn-submit" style="float:right" type="submit" value="提交" id="button3"  onclick="document.getElementById('loading').style.display='';">
            </form>

        </td>
    </tr>

    <tr>
        <td>会员时长调整</td>
        <td >
            <form action="/report/member/" method="get" accept-charset="UTF-8" >
                <input type="text" name="mobile" style="width: 200px;height: 20px; " placeholder="请输入用户手机号码">
                <br>
                <input type="text" name="time" style="width: 200px;height: 20px; " placeholder="请输入天数">
                <input class="ui-btn btn-green btn-submit" style="float:right" type="submit" value="提交" id="button3"  onclick="document.getElementById('loading').style.display='';">
            </form>

        </td>
    </tr>

     <tr>
        <td>作废优惠券</td>
        <td >
            <form action="/report/delete_coupon" method="get" accept-charset="UTF-8" >
                <input type="text" name="coupon_code" style="width: 200px;height: 20px; " placeholder="请输入优惠券编码">
                <input class="ui-btn btn-green btn-submit" style="float:right" type="submit" value="提交" id="button3"  onclick="document.getElementById('loading').style.display='';">
            </form>

        </td>
    </tr>

    <tr>
        <td>作废会员包兑换码</td>
        <td >
            <form action="/report/delete_gift_code" method="get" accept-charset="UTF-8" >
                <input type="text" name="code" style="width: 200px;height: 20px; " placeholder="请输入会员包兑换码">
                <input class="ui-btn btn-green btn-submit" style="float:right" type="submit" value="提交" id="button3"  onclick="document.getElementById('loading').style.display='';">
            </form>

        </td>
    </tr>

    <tr>
        <td>修改用户为新用户</td>
        <td >
            <form action="/report/change_new_user" method="get" accept-charset="UTF-8" >
                <input type="text" name="mobile" style="width: 200px;height: 20px; " placeholder="请输入手机号码">
                <input class="ui-btn btn-green btn-submit" style="float:right" type="submit" value="提交" id="button3"  onclick="document.getElementById('loading').style.display='';">
            </form>

        </td>
    </tr>

    <tr>
        <td>作废凭证</td>
        <td >
            <form action="/report/deleteorder" method="get" accept-charset="UTF-8" >
                <input type="text" name="order_no" style="width: 200px;height: 20px; " placeholder="请输入订单号">
                <input class="ui-btn btn-green btn-submit" style="float:right" type="submit" value="提交" id="button3"  onclick="document.getElementById('loading').style.display='';">
            </form>

        </td>
    </tr>

    <tr>
    <td>退款后返回优惠券</td>
    <td >
        <form action="/report/return_coupon" method="get" accept-charset="UTF-8" >
            <input type="text" name="mobile" style="width: 200px;height: 20px; " placeholder="请输入手机号码">
            <input class="ui-btn btn-green btn-submit" style="float:right" type="submit" value="提交" id="button3"  onclick="document.getElementById('loading').style.display='';">
        </form>

    </td>
    </tr>





</table>
</div>
<div id="footer" style="background-color:#FFA500;clear:both;;position: fixed;_position: absolute;bottom: 0;width:100%;text-align: center">
版权 chenqiang@hupovip.cn
</div>
</body>
</html>